class Dog {
    constructor(name, age) {
        this.species = "Dog";
        this.name = name;
        this.age = age;
    }
    call() {
        console.log("旺旺");
    }
    intro() {
        console.log(this.name, this.age);
    }
}
class Tianyuan extends Dog {
    constructor(name, age) {
        super(name, age);
        console.log(this.name);
    }
    skill() {
        console.log("看门啊," + this.name);
    }
}
let WangCai = new Tianyuan("WangCai", 3);
WangCai.skill();
export default {};
